package a入门.day3;

public class 扩展运算符 {
    public static void main(String[] args) {
        int a=20;
        int b=10;
        a+=b;//a=a+b
        a-=b;
        a*=b;
        a/=b;
        a%=b;
        a*=a+b*20;//a=a*(a+b*20)
        b+=b-=b-b;//b=b+(b-=b-b)-->b=b+(b-(b-b))
        System.out.println(b);
    }
}
